<div ng-controller="TemplatemsgCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li>{{'模板库'| translate}}</li>
        <li>{{'List'|translate}}</li>
        <span class="sui-form sui-form pull-right">
            <input type="text"  placeholder="{{'模板编号'|translate}}" ng-model="template_id_short">
            <button class="sui-btn btn-primary" ng-click="addTemplate();">{{'添加模板'|translate}}</button>
            
            <button class="sui-btn btn-primary" ng-click="downloadPrivateTemplate()">{{'下载公众号信息模板'|translate}}</button>
            <chose-template title-check="titleCheck(title)"></chose-template>
        </span>
    </ul>
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'#'|translate}}</th>
                <th>{{'编号'|translate}}</th>
                <th>{{'title'|translate}}</th>
                <th>{{'关键词编号'|translate}}</th>
                <th>{{'内容'|translate}}</th>
                <th>{{'例子'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in template_list">
                <td>{{list.id}}</td>
                <td>{{list.title_id}}</td>
                <td>{{list.title}}</td>
                <td>{{list.keyword_id}}</td>
                <td>{{list.content}}</td>
                <td>{{list.example}}</td>
                <td>
                </td>
            </tr>
        </tbody>
    </table>
    <!-- 分页start -->
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getList(pageNo)"></pager>
    <!-- 分页end -->
</div>